package com.jumi.microservice.constant.usercash;

import com.jumi.microservice.common.enumeration.IResponseEnum;

/**
 * @author Scw
 * @Date 2020-07-21 14:13
 */
public enum CpsUserCashStatusEnum implements IResponseEnum {
    /**
     * 是否删除
     */
    DEL_FALSE(0, "否"),
    DEL_TRUE(1, "是"),

    //提现账户类型
    CASH_BANKCARD(1, "银行卡"),
    CASH_ALIPAY(2, "支付宝"),

    //提现状态 0-待审核 1-提现处理中 2-审核失败 3-提现到账 4-提现失败
    STATUS_APPLY(0, "待审核"),
    STATUS_AUDIT_PASSED(1, "提现处理中"),
    STATUS_AUDIT_FAILED(2, "审核失败"),
    STATUS_CASH_ACCOUNT(3, "提现到账"),
    STATUS_CASH_FAILED(4, "提现失败"),

    //审核状态
    CHECK_STATUS_PASSED(1, "审核通过"),
    CHECK_STATUS_FAILED(2, "审核失败"),

    //用户审核状态
    USER_STATUS_PASSED(1, "审核通过"),
    USER_STATUS_FAILED(2, "审核失败"),

    //用户级别：1、团购用户 2、店长 3、优秀店长 4、金牌推广商
    USER_ROLE_PROMOTION(1, "团购用户"),
    USER_ROLE_PLATINUM(2, "店长"),
    USER_ROLE_DIAMONDS(3, "优秀店长"),
    USER_ROLE_KING(4, "金牌推广商"),

    //查询信息
    SEARCH_INFO_NULL(500, "没有查询到符合条件的提现信息");
    private Integer code;
    private String message;

    CpsUserCashStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
